<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户注册</title>
    <link type="text/css" rel="stylesheet" href="__JINJIA__/css/bootstrap.min.css">
    <link type="text/css" rel="stylesheet" href="__JINJIA__/css/style.css">
</head>
<body>
<div id="maincontainer" style="border: none;">
    <!-- 顶部包括logo和登录 -->
    <div id="regist-head">
        <a href="#"><img id="regist-img" src="__JINJIA__//images/logo.jpg"></a>
        <p style="display:inline-block; margin-left:75%;">
            <a href="{:url('jinjia/Index/index')}" class="text-right"><font color="black">返回首页</font></a>
        </p>
    </div>
    <div>
        <div id="user-regist">
            <div id="user-regist-head">
                新用户注册
            </div>
            <div id="regist-con">
                <form class="form-horizontal" method="post" action="{:url('jinjia/User/regist')}">
                    <div class="form-group">
                        <label for="inputName" class="col-sm-2 control-label">用户名：</label>
                        <div class="col-sm-5">
                            <input type="text" class="form-control regist-input" id="inputName" name="nickname">
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="inputPassword1" class="col-sm-2 control-label">设置密码：</label>
                        <div class="col-sm-5">
                            <input type="password" class="form-control regist-input" id="inputPassword1" name="password">
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="inputPassword2" class="col-sm-2 control-label">确认密码：</label>
                        <div class="col-sm-5">
                            <input type="password" class="form-control regist-input" id="inputPassword2" name="repassword">
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="mobile" class="col-sm-2 control-label">手机号码：</label>
                        <div class="col-sm-5">
                            <input type="text" class="form-control regist-input" id="mobile" name="mobile">
                        </div>
                    </div>

                    <div class=" form-group">
                        <label for="mycode" class="col-sm-2 control-label">短信验证：</label>
                        <div class="col-sm-5">
                            <input type="password" style="width:180px; display: inline-block;" class="form-control regist-input" id="mycode" name="code">
                            <button class="btn btn-default getcode" type="button" onclick="getPhoneCode();">获取验证码</button>
                        </div>
                    </div>

                    <div class="form-group">
                        <div class="col-sm-5" style="padding-left: 55px;">
                            <button type="submit" id="regist-tj" class="btn btn-default" onclick="return checkRegist(this.form)">注册</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        <div style="clear: both;"></div>
    </div>
</div>
</body>

<script src="__JINJIA__/js/jquery.min.js"></script>
<script src="__JINJIA__/js/bootstrap.min.js"></script>
<script src="__JINJIA__/js/validate.js"></script>

</html>